package org.exez.modules.visitor.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Date;
import java.util.List;

/**
 * @Description: 访客申请记录表
 * @Author: exez-boot
 * @Date: 2020-06-04
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "访客以及随从添加对象")
public class ReservationApplicationInSaveVO {
    /**
     * 访客姓名
     */
    @Excel(name = "访客姓名", width = 15)
    @ApiModelProperty(value = "访客姓名",required = true)
    private java.lang.String name;
    /**
     * 访客电话号码
     */
    @Excel(name = "访客电话号码", width = 15)
    @ApiModelProperty(value = "访客电话号码",required = true)
    private java.lang.String mobile;

    /**
     * 1身份证，2护照
     */
    @Excel(name = "1身份证，2护照", width = 15)
    @ApiModelProperty(value = "1身份证，2护照",required = true)
    private java.lang.Integer identityType;

    /**
     * 访客身份证号
     */
    @Excel(name = "访客身份证号", width = 15)
    @ApiModelProperty(value = "访客身份证号",required = true)
    private java.lang.String identityValue;

    /**
     * 预约渠道 1：微信预约  2：现场预约
     */
    @Excel(name = "预约渠道 1：微信预约  2：现场预约", width = 15)
    @ApiModelProperty(value = "预约渠道 1：微信预约  2：现场预约  3：钉钉预约", required = true)
    @NotNull(message = "预约渠道不能为空")
    private Integer reservationChannel;

    /**
     * 驾车拜访的输入车牌号
     */
    @Excel(name = "驾车拜访的输入车牌号", width = 15)
    @ApiModelProperty(value = "驾车拜访的输入车牌号")
    private java.lang.String numberPlate;

    /**
     *  访客性别 0:女 1：男
     */
    @Excel(name = "性别", width = 15)
    @ApiModelProperty(value = " 访客性别 0:女 1：男")
    private Integer sex;

    /**访客所属公司*/
    @Excel(name = "访客所属公司", width = 15)
    @ApiModelProperty(value = "访客所属公司")
    private String company;

    /**
     * 到访类型
     */
    @Excel(name = "到访类型id", width = 15)
    @ApiModelProperty(value = "到访类型id", required = true)
    @NotNull(message = "到访类型id不能为空")
    private Integer visitTypeId;

    /**
     * 拜访原因
     */
    @Excel(name = "拜访原因", width = 15)
    @ApiModelProperty(value = "拜访原因")
    @Length(max = 50, message = "拜访原因长度限制50字符")
    private String visitRemark;


    /**
     * 被访人姓名
     */
    @Excel(name = "被访人姓名", width = 15)
    @ApiModelProperty(value = "被访人姓名")
    private String respondentName;
    /**
     * 被访人手机
     */
    @Excel(name = "被访人手机", width = 15)
    @ApiModelProperty(value = "被访人手机", required = true)
    @NotBlank(message = "被访人手机不能为空")
    private String respondentMobile;

    /**
     * 人脸采集(拍正面照)
     */
    @Excel(name = "人脸采集(拍正面照)", width = 15)
    @ApiModelProperty(value = "人脸采集(拍正面照)",required = true)
    private java.lang.String facePhoto;

}
